﻿@using System.Linq
@using PortalWeb
@using PortalWeb.Models
<!DOCTYPE HTML >
<html class="uk-height-1-1">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - 我的 ASP.NET 应用程序</title>
    <link href="~/Content/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/Uikit/css")
    @Styles.Render("~/bundles/jquery")
    @Styles.Render("~/Content/Uikit/js")
    @Scripts.Render("~/bundles/modernizr")
</head>
    <body class="uk-height-1-1">
        <!-- top-nav -->
        <nav class="uk-navbar uk-navbar-attached top-nav ">
            <div class="shell uk-container uk-container-center">
                <a href="#" class="nav-btn">HOMEPAGE<span></span></a>
                <span class="top-nav-shadow"></span>
                <ul class="uk-navbar-nav uk-hidden-small">
                    @{
                        var viewModel = UIShell.OSGi.BundleRuntime.Instance.GetFirstOrDefaultService<ApplicationViewModel>();
                        if (viewModel != null)
                        {
                            var mainMenuItems = viewModel.MainMenuItems.OrderBy(p => p.Order);
                            foreach (var mainMenuItem in mainMenuItems)
                            {
                                <li itemid="@mainMenuItem.Order"><span><a href="@mainMenuItem.URL">@mainMenuItem.Text</a></span> </li>
                            }
                        }
                    }
                    <li class="active"><span>@Html.ActionLink("首页", "Index", "Home")</span></li>
                    <li><span>@Html.ActionLink("关于我们", "About", "Home")</span></li>
                    <li><span>@Html.ActionLink("新闻热点", "Index", "Article")</span></li>
                    <li><span>@Html.ActionLink("产品展示", "Index", "Product")</span></li>
                    <li><span>@Html.ActionLink("诚聘英才", "Index", "Jobs")</span></li>
                    <li><span>@Html.ActionLink("后台管理", "Index", "Home", new {area = "Admin"}, null)</span></li>
                </ul>
            </div>
        </nav>
        <div id="wrapper">
            @RenderBody()
        </div>
        <div id="footer-push"></div>

        <div id="footer">
            <span class="shadow-bottom"></span>
            <!-- footer-cols -->
            <div class="footer-cols">
                <!-- shell -->
                <div class="shell">
                    <div class="col">
                        <h3><a href="#">解决方案</a></h3>
                        <div class="col-cnt">
                            <ul>
                                <li><a href="#">Lorem lipsum dolor </a></li>
                                <li><a href="#">Ame tleo libero dolor</a></li>
                                <li><a href="#">Aidpispicing lipsum </a></li>
                                <li><a href="#">Commodo id amet </a></li>
                                <li><a href="#">Sectetur amet au car </a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="col">
                        <h3><a href="#">服务</a></h3>
                        <div class="col-cnt">
                            <ul>
                                <li><a href="#">Lorem lipsum dolor </a></li>
                                <li><a href="#">Ame tleo libero dolor</a></li>
                                <li><a href="#">Aidpispicing lipsum </a></li>
                                <li><a href="#">Commodo id amet </a></li>
                                <li><a href="#">Sectetur amet au car </a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="col">
                        <h3><a href="#">投资组合</a></h3>
                        <div class="col-cnt">
                            <ul>
                                <li><a href="#">Lorem lipsum dolor </a></li>
                                <li><a href="#">Ame tleo libero dolor</a></li>
                                <li><a href="#">Aidpispicing lipsum </a></li>
                                <li><a href="#">Commodo id amet </a></li>
                                <li><a href="#">Sectetur amet au car </a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="col last">
                        <h3><a href="#">联系我们</a></h3>
                        <div class="col-cnt">
                            <p><strong>Email:</strong> <a href="#">info@yourwebsitename.com</a></p>
                            <p><strong>Phone:</strong> 655-606-111</p>
                            <p><strong>Adress:</strong> East Pixel Bld. 99, Creative City 9000,Republic of Design Email:</p>
                        </div>
                    </div>
                    <div class="cl">&nbsp;</div>
                </div>
                <!-- end of shell -->
            </div>
            <!-- end of footer-cols -->
            <div class="footer-bottom">
                <div class="shell">
                    <nav class="footer-nav">
                        <ul>
                            <li><a href="#">Home</a></li>
                            <li><a href="#">About</a></li>
                            <li><a href="#">Services</a></li>
                            <li><a href="#">Projects</a></li>
                            <li><a href="#">Solutions</a></li>
                            <li><a href="#">Jobs</a></li>
                            <li><a href="#">Blog</a></li>
                            <li><a href="#">Contacts</a></li>
                        </ul>
                        <div class="cl">&nbsp;</div>
                    </nav>
                    <p class="copy">&copy; Copyright 2012<span>|</span>Sitename. Design by <a href="http://chocotemplates.com" target"_blank">ChocoTemplates.com</a></p>
                </div>
            </div>
        </div>

        @Scripts.Render(BundleConfig.JqueryPath)
        @Scripts.Render(BundleConfig.BootstrapScriptsPath)
        @RenderSection("scripts", required: false)
    </body>
</html>
